A balloon-borne X- and gamma-ray instrument was developed, fabricated, and flown. This instrument has the highest energy resolution of any instrument flown to date for measurements of solar and cosmic X-ray and gamma-ray emission in the 13 to 600 keV energy range. The purpose of the solar measurements was to study electron acceleration and solar flare energy release processes. The cosmic observations were to search for cyclotron line features from neutron stars and for low energy gamma-ray lines from nucleosynthesis. The instrument consists of four 4 cm diameter, 1.3 cm thick, planar intrinsic germanium detectors cooled by liquid nitrogen and surrounded by CsI and NaI anti-coincidence scintillation crystals. A graded z collimator limited the field of view to 3 deg x 6 deg and a gondola pointing system provided 0.3 deg pointing accuracy. A total of four flights were made with this instrument. Additional funding was obtained from NSF for the last three flights, which had primarily solar objectives. A detailed instrument description is given. The main scientific results and the data analysis are discussed. Current work and indications for future work are summarized. A bibliography of publications resulting from this work is given.